package ru.skypro.homework.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import ru.skypro.homework.entity.User;


public interface UserRepository extends JpaRepository<User, Integer> {
    User findByUsername(String username);

    User findUserById(int id);
}
